from entity import User
from entity import *
#user1=User()
#user1.show()
#print(user1.count)
user2=User("jay",18,"male","666@qq.com")
#print(User.count)
User.count=100
print(user2.count)
user2.phone_number="666XXXXX"
user3=User("jay",18,"male","666")
user3.show()
#User.show()类名不可调用实例方法
print("--------------------")
user3.show1()
user3.show2()
#user4 = User()
#user5 = User("ty")
#user5.show()
#print(user4.count)
#print(user5.count)
#print(user5.phone)
#user4=User()
#user5=User("jay")
#user6=User("jay",18)
#user7=User("jay",18,"male")
#user8=User("jay",18,"male","666")


child1=Child()
child1.show()
child1.study()
print(child1.name)
print(child1.age)
print(child1.__sex)#不报错 拿不到植
